<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .nav {
            width: 100%;
            position: relative;
            text-align: center;
        }

        .nav ul {
            position: absolute;
            bottom: 3px;
            left: 50%;
            margin-left: -500px;
        }

        a {
            text-decoration: none;
        }

        .nav ul li {
            list-style: none;
            width: 200px;
            height: 50px;
            background-color: black;
            float: left;
            line-height: 50px;
            cursor: pointer;
        }

        .nav ul li a {
            color: aliceblue;
        }

        .nav ul li:hover {
            transition: all 0.5s;
            background-color: #999;
        }
    </style>
</head>

<body>
    <div class="nav">
        <img src="img/sf.png" alt="">
        <ul>
            <li><a href="#">快递查询</a></li>
            <li><a href="#">快递查询</a></li>
            <li><a href="#">快递查询</a></li>
            <li><a href="#">快递查询</a></li>
            <li><a href="#">快递查询</a></li>
        </ul>
    </div>
</body>

</html>